package com.lewis.request;

import java.net.InetSocketAddress;

import com.sun.net.httpserver.HttpServer;

public class Main {
	public static void main(String[] args) throws Exception {
		HttpServer server = HttpServer.create(new InetSocketAddress(8000),1000);
		server.createContext("/", new ReRouteHandler());
		server.setExecutor(null);
		server.start();
	}
}
